<?phpclass TemplatePhotoDataAccess extends TemplatePhotoDABase{	/**	 * 	 * Remove Photo of template	 * @param string $templateId	 	 * @throws Exception	 */	public function removePhoto($templateId) {		try {			// Get db object			$dbWriter = $this->getDbWriter();						$arrElement = array();			if(!empty($templateId))			{				$arrElement[] = " templateId = {$templateId}";			}									// Execute query			$rowCount = $dbWriter->delete($this->tableName, $arrElement);									// Return boolean result			if ($rowCount > 0) {				return true;			}			else {				return false;			}		}		catch (Exception $ex) {			throw $ex;		}	}	}